﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ShelfStackItemDataSet" targetNamespace="http://tempuri.org/ShelfStackItemDataSet.xsd" xmlns:mstns="http://tempuri.org/ShelfStackItemDataSet.xsd" xmlns="http://tempuri.org/ShelfStackItemDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TafitiConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="TafitiConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WLQuickApps.Tafiti.Data.Properties.Settings.GlobalReference.Default.TafitiConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ShelfStackItemTableAdapter" GeneratorDataComponentClassName="ShelfStackItemTableAdapter" Name="ShelfStackItem" UserDataComponentName="ShelfStackItemTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="Tafiti.dbo.ShelfStackItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [ShelfStackItem] WHERE (([ShelfStackItemID] = @Original_ShelfStackItemID) AND ([ShelfStackID] = @Original_ShelfStackID) AND ([AddedBy] = @Original_AddedBy) AND ([Title] = @Original_Title) AND ([Description] = @Original_Description) AND ([Url] = @Original_Url) AND ([AddedTimestamp] = @Original_AddedTimestamp) AND ([ImageUrl] = @Original_ImageUrl) AND ([Source] = @Original_Source) AND ([Domain] = @Original_Domain) AND ([Width] = @Original_Width) AND ([Height] = @Original_Height))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShelfStackItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShelfStackItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_ShelfStackID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ShelfStackID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_AddedBy" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="AddedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Url" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Url" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_AddedTimestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AddedTimestamp" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ImageUrl" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImageUrl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Source" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Source" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Domain" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Domain" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [ShelfStackItem] ([ShelfStackID], [AddedBy], [Title], [Description], [Url], [AddedTimestamp], [ImageUrl], [Source], [Domain], [Width], [Height]) VALUES (@shelfStackID, @AddedBy, @Title, @Description, @Url, @AddedTimestamp, @ImageUrl, @Source, @Domain, @Width, @Height);
                      SELECT ShelfStackItemID, ShelfStackID, AddedBy, Title, Description, Url, AddedTimestamp, ImageUrl, Source, Domain, Width, Height FROM ShelfStackItem WHERE (ShelfStackItemID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@shelfStackID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ShelfStackID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@AddedBy" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="AddedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Url" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Url" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@AddedTimestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AddedTimestamp" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ImageUrl" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImageUrl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Source" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Source" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Domain" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Domain" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>
                      SELECT        ShelfStackItemID, ShelfStackID, AddedBy, Title, Description, Url, AddedTimestamp, ImageUrl, Source, Domain, Width, Height
                      FROM            ShelfStackItem</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [ShelfStackItem] SET [ShelfStackID] = @shelfStackID, [AddedBy] = @AddedBy, [Title] = @Title, [Description] = @Description, [Url] = @Url, [AddedTimestamp] = @AddedTimestamp, [ImageUrl] = @ImageUrl, [Source] = @Source, [Domain] = @Domain, [Width] = @Width, [Height] = @Height WHERE (([ShelfStackItemID] = @Original_ShelfStackItemID) AND ([ShelfStackID] = @Original_ShelfStackID) AND ([AddedBy] = @Original_AddedBy) AND ([Title] = @Original_Title) AND ([Description] = @Original_Description) AND ([Url] = @Original_Url) AND ([AddedTimestamp] = @Original_AddedTimestamp) AND ([ImageUrl] = @Original_ImageUrl) AND ([Source] = @Original_Source) AND ([Domain] = @Original_Domain) AND ([Width] = @Original_Width) AND ([Height] = @Original_Height));
                      SELECT ShelfStackItemID, ShelfStackID, AddedBy, Title, Description, Url, AddedTimestamp, ImageUrl, Source, Domain, Width, Height FROM ShelfStackItem WHERE (ShelfStackItemID = @shelfStackItemID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@shelfStackID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ShelfStackID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@AddedBy" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="AddedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Url" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Url" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@AddedTimestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AddedTimestamp" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ImageUrl" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImageUrl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Source" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Source" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Domain" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Domain" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShelfStackStackItemID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShelfStackItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Guid" Direction="Input" ParameterName="@Original_ShelfStackID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="0" SourceColumn="ShelfStackID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_AddedBy" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="AddedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Url" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Url" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_AddedTimestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AddedTimestamp" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ImageUrl" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ImageUrl" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Source" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Source" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Domain" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Domain" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Width" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ShelfStackItemID" ColumnName="ShelfStackItemID" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@shelfStackItemID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ShelfStackItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ShelfStackItemID" DataSetColumn="ShelfStackItemID" />
              <Mapping SourceColumn="ShelfStackID" DataSetColumn="ShelfStackID" />
              <Mapping SourceColumn="AddedBy" DataSetColumn="AddedBy" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="Url" DataSetColumn="Url" />
              <Mapping SourceColumn="AddedTimestamp" DataSetColumn="AddedTimestamp" />
              <Mapping SourceColumn="ImageUrl" DataSetColumn="ImageUrl" />
              <Mapping SourceColumn="Source" DataSetColumn="Source" />
              <Mapping SourceColumn="Domain" DataSetColumn="Domain" />
              <Mapping SourceColumn="Width" DataSetColumn="Width" />
              <Mapping SourceColumn="Height" DataSetColumn="Height" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CreateShelfStackItem" Modifier="Public" Name="CreateShelfStackItem" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CreateShelfStackItem">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>
                      INSERT INTO [dbo].[ShelfStackItem] ([ShelfStackID], [AddedBy], [Title], [Description], [Url], [ImageUrl], [Width], [Height], [Source], [Domain], AddedTimestamp) VALUES (@shelfStackID, @addedByUserID, @title, @description, @url, @imageUrl, @width, @height, @source, @domain, CURRENT_TIMESTAMP);
                      SELECT SCOPE_IDENTITY()</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ShelfStackID" ColumnName="ShelfStackID" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@shelfStackID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="ShelfStackID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="addedByUserID" ColumnName="AddedBy" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="char(32)" DbType="AnsiString" Direction="Input" ParameterName="@addedByUserID" Precision="0" ProviderType="Char" Scale="0" Size="32" SourceColumn="AddedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="title" ColumnName="Title" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="nvarchar(256)" DbType="String" Direction="Input" ParameterName="@title" Precision="0" ProviderType="NVarChar" Scale="0" Size="256" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="description" ColumnName="Description" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="nvarchar(256)" DbType="String" Direction="Input" ParameterName="@description" Precision="0" ProviderType="NVarChar" Scale="0" Size="256" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="url" ColumnName="Url" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="nvarchar(2048)" DbType="String" Direction="Input" ParameterName="@url" Precision="0" ProviderType="NVarChar" Scale="0" Size="2048" SourceColumn="Url" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="imageUrl" ColumnName="ImageUrl" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="nvarchar(2048)" DbType="String" Direction="Input" ParameterName="@imageUrl" Precision="0" ProviderType="NVarChar" Scale="0" Size="2048" SourceColumn="ImageUrl" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="width" ColumnName="Width" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@width" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Width" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="height" ColumnName="Height" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@height" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="Height" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="source" ColumnName="Source" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="nvarchar(256)" DbType="String" Direction="Input" ParameterName="@source" Precision="0" ProviderType="NVarChar" Scale="0" Size="256" SourceColumn="Source" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="domain" ColumnName="Domain" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="nvarchar(32)" DbType="String" Direction="Input" ParameterName="@domain" Precision="0" ProviderType="NVarChar" Scale="0" Size="32" SourceColumn="Domain" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteShelfStackItem" Modifier="Public" Name="DeleteShelfStackItem" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="DeleteShelfStackItem">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>
                      DELETE FROM [dbo].[ShelfStackItem]
                      WHERE ShelfStackItemID = @shelfStackItemID</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ShelfStackItemID" ColumnName="ShelfStackItemID" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@shelfStackItemID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ShelfStackItemID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="Tafiti.dbo.ShelfStackItem" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetShelfStackItemByID" GetMethodModifier="Public" GetMethodName="GetShelfStackItemByID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetShelfStackItemByID" UserSourceName="GetShelfStackItemByID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AddedBy, AddedTimestamp, Description, Domain, Height, ImageUrl, ShelfStackItemID, ShelfStackID, Source, Title, Url, Width FROM ShelfStackItem WHERE (ShelfStackItemID = @shelfStackItemID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ShelfStackItemID" ColumnName="ShelfStackItemID" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@shelfStackItemID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ShelfStackItemID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="Tafiti.dbo.ShelfStackItem" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetShelfStackItemsByShelfStackID" GetMethodModifier="Public" GetMethodName="GetShelfStackItemsByShelfStackID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetShelfStackItemsByShelfStackID" UserSourceName="GetShelfStackItemsByShelfStackID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AddedBy, AddedTimestamp, Description, Domain, Height, ImageUrl, ShelfStackItemID, ShelfStackID, Source, Title, Url, Width FROM ShelfStackItem WHERE (ShelfStackID = @shelfStackID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ShelfStackID" ColumnName="ShelfStackID" DataSourceName="Tafiti.dbo.ShelfStackItem" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@shelfStackID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="ShelfStackID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ShelfStackItemDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="ShelfStackItemDataSet" msprop:Generator_DataSetName="ShelfStackItemDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="ShelfStackItem" msprop:Generator_UserTableName="ShelfStackItem" msprop:Generator_RowDeletedName="ShelfStackItemRowDeleted" msprop:Generator_RowChangedName="ShelfStackItemRowChanged" msprop:Generator_RowClassName="ShelfStackItemRow" msprop:Generator_RowChangingName="ShelfStackItemRowChanging" msprop:Generator_RowEvArgName="ShelfStackItemRowChangeEvent" msprop:Generator_RowEvHandlerName="ShelfStackItemRowChangeEventHandler" msprop:Generator_TableClassName="ShelfStackItemDataTable" msprop:Generator_TableVarName="tableShelfStackItem" msprop:Generator_RowDeletingName="ShelfStackItemRowDeleting" msprop:Generator_TablePropName="ShelfStackItem">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ShelfStackItemID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ShelfStackItemID" msprop:Generator_ColumnPropNameInRow="ShelfStackItemID" msprop:Generator_ColumnVarNameInTable="columnShelfStackItemID" msprop:Generator_ColumnPropNameInTable="ShelfStackItemIDColumn" type="xs:int" />
              <xs:element name="ShelfStackID" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="ShelfStackID" msprop:Generator_ColumnPropNameInRow="ShelfStackID" msprop:Generator_ColumnVarNameInTable="columnShelfStackID" msprop:Generator_ColumnPropNameInTable="ShelfStackIDColumn" type="xs:string" />
              <xs:element name="AddedBy" msprop:Generator_UserColumnName="AddedBy" msprop:Generator_ColumnPropNameInRow="AddedBy" msprop:Generator_ColumnVarNameInTable="columnAddedBy" msprop:Generator_ColumnPropNameInTable="AddedByColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="256" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="256" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Url" msprop:Generator_UserColumnName="Url" msprop:Generator_ColumnPropNameInRow="Url" msprop:Generator_ColumnVarNameInTable="columnUrl" msprop:Generator_ColumnPropNameInTable="UrlColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2048" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AddedTimestamp" msprop:Generator_UserColumnName="AddedTimestamp" msprop:Generator_ColumnPropNameInRow="AddedTimestamp" msprop:Generator_ColumnVarNameInTable="columnAddedTimestamp" msprop:Generator_ColumnPropNameInTable="AddedTimestampColumn" type="xs:dateTime" />
              <xs:element name="ImageUrl" msprop:Generator_UserColumnName="ImageUrl" msprop:Generator_ColumnPropNameInRow="ImageUrl" msprop:Generator_ColumnVarNameInTable="columnImageUrl" msprop:Generator_ColumnPropNameInTable="ImageUrlColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2048" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Source" msprop:Generator_UserColumnName="Source" msprop:Generator_ColumnPropNameInRow="Source" msprop:Generator_ColumnVarNameInTable="columnSource" msprop:Generator_ColumnPropNameInTable="SourceColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="256" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Domain" msprop:Generator_UserColumnName="Domain" msprop:Generator_ColumnPropNameInRow="Domain" msprop:Generator_ColumnVarNameInTable="columnDomain" msprop:Generator_ColumnPropNameInTable="DomainColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Width" msprop:Generator_UserColumnName="Width" msprop:Generator_ColumnVarNameInTable="columnWidth" msprop:Generator_ColumnPropNameInRow="Width" msprop:Generator_ColumnPropNameInTable="WidthColumn" type="xs:int" />
              <xs:element name="Height" msprop:Generator_UserColumnName="Height" msprop:Generator_ColumnVarNameInTable="columnHeight" msprop:Generator_ColumnPropNameInRow="Height" msprop:Generator_ColumnPropNameInTable="HeightColumn" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ShelfStackItem" />
      <xs:field xpath="mstns:ShelfStackItemID" />
    </xs:unique>
  </xs:element>
</xs:schema>